package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface SetmealService {
    Result upload(MultipartFile imgFile) throws IOException;

    Result add(Setmeal setmeal,Integer [] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);

    Result findById(Integer id);

    Result edit(Integer[] checkgroupIds,Setmeal setmeal);

    Result delete(Integer id);
}
